import BasePath from "../config";

const onlinePay = {
    path: `${BasePath}/order-statistics/order-statistics-index`,
    name: 'order-statistics-index',
    component: () => import('@/views/home/operate-panel/order-statistics/order-statistics-index.vue'),
    meta: {
        keepAlive: false
    }
}
const supplierPay = {
    path: `${BasePath}/order-statistics/supplier-index`,
    name: 'supplier-index',
    component: () => import('@/views/home/operate-panel/order-statistics/supplier-index.vue'),
    meta: {
        keepAlive: false
    }
}
const sortPay = {
    path: `${BasePath}/order-statistics/sort-index`,
    name: 'sort-index',
    component: () => import('@/views/home/operate-panel/order-statistics/sort-index.vue'),
    meta: {
        keepAlive: false
    }
}


export default {
    path: `${BasePath}/order-statistics`,
	name: 'order-statistics',
	redirect:`${BasePath}/order-statistics/order-statistics-index`,
    component: () => import('@/views/home/operate-panel/order-statistics/tab-control.vue'),
    meta: {
        keepAlive: false
    },
    children: [
        onlinePay,
        supplierPay,
        sortPay
    ]
}